package com.gxuwz.volunteer.entity;

import java.util.Date;

public class Attendance {
    private Integer attendanceId;        // 签到记录ID
    private Integer userId;              // 志愿者ID
    private Integer activityId;          // 活动ID
    private Date checkInTime;            // 签到时间
    private Date checkOutTime;           // 签退时间
    private String status;               // 签到状态（签到、签退、缺席）
    private Boolean qrCodeScanned;       // 是否使用二维码签到

    // Getters and Setters
    public Integer getAttendanceId() {
        return attendanceId;
    }

    public void setAttendanceId(Integer attendanceId) {
        this.attendanceId = attendanceId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Date getCheckInTime() {
        return checkInTime;
    }

    public void setCheckInTime(Date checkInTime) {
        this.checkInTime = checkInTime;
    }

    public Date getCheckOutTime() {
        return checkOutTime;
    }

    public void setCheckOutTime(Date checkOutTime) {
        this.checkOutTime = checkOutTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Boolean getQrCodeScanned() {
        return qrCodeScanned;
    }

    public void setQrCodeScanned(Boolean qrCodeScanned) {
        this.qrCodeScanned = qrCodeScanned;
    }
}
